#pragma once
#include "resource.h"
#include "waitbox.h"

inline void WBH_SetPrompt(WaitBox &wb,LPCTSTR str){
	CStatic *p=(CStatic *)wb.GetDlgItem(IDC_PROMPT);
	p->SetWindowTextW(str);
}

inline void WBH_Close(WaitBox &wb){
	PostMessage(wb.GetSafeHwnd(),WM_CLOSE,0,0);
}